home *** CD-ROM | disk | FTP | other *** search
- Path: news.infi.net!usenet
- From: nngis@norfolk.infi.net (Greg DiGiorgio)
- Newsgroups: comp.lang.c
- Subject: Re: i May be a Moron but please help anyway
- Date: 23 Jan 1996 18:21:20 GMT
- Organization: Customer of InfiNet
- Message-ID: <4e38v0$83o@nw002.infi.net>
- References: <4c172f$k17@news1.warwick.net> <4e2f6f$i5v@news1.warwick.net>
- Reply-To: nngis@norfolk.infi.net
- NNTP-Posting-Host: h-insomnia.norfolk.infi.net
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.3
-
- In article <4e2f6f$i5v@news1.warwick.net>, vidman@warwick.net says...
- >
- >Ok i have tried to read about it but i am still clueless. could
- >someone explain the difference between cin and cerr.(maybe example
- >code--please no borlandc 1000 line source to explain declaring ints
- >tho<G>)
- >
- >
-
- How do you spell 'C'? As C++? Aren't "cin", "cout", and "cerr" C++'s
- equivalent to "stdin", "stdout", "stderr"? If so, then these are
- pre-defined FILE pointers given to when your program initiates. "cin" is
- usually the console or keyboard for input; "cout" is normally the screen
- for output, and "cerr" is usually the screen even on redirected output.
- Greg DiGiorgio
-
-